
package com.shhic.hhplt.testreport;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for statusEnum.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="statusEnum">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="PASS"/>
 *     &lt;enumeration value="FAIL"/>
 *     &lt;enumeration value="UNTESTED"/>
 *     &lt;enumeration value="TESTING"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "statusEnum")
@XmlEnum
public enum StatusEnum {

    PASS{@Override
    public String toString() {
    	return "测试通过";
    }},
    FAIL{@Override
    public String toString() {
    	return "不通过";
    }},
    UNTESTED{@Override
    public String toString() {
    	return "未测试";
    }},
    TESTING{
	@Override
	public String toString() {
		return "测试中";
	}
    };

    public String value() {
        return name();
    }

    public static StatusEnum fromValue(String v) {
        return valueOf(v);
    }

}
